package com.qww.exec16;

class Amphibian {
    public void f() { System.out.println("fffffff"); }
}
public class Frog extends Amphibian {
    public static void main(String[] args) {
        Amphibian a = new Frog();
        a.f();
    }
}
/* 运行结果
fffffff
*/
